package com.xiaobai.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;

@FeignClient("consulUser")
public interface OpenFeignService {

    @RequestMapping("/user/getUser")
    String getUserInfo(@RequestParam("id") String id);

}
